<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><{:F('SiteTitle')}> - Powered by YZCMS</title>
<meta name="keywords" content="<{:F('SiteKeyword')}>" />
<meta name="description" content="<{:F('SiteDescription')}>" />
<link href="__CSS__/style.css" rel="stylesheet" type="text/css">
</head>
<script src="__JS__/jquery.js"></script>
<script src="__JS__/slide.js"></script>
<script src="__JS__/xuehen.js"></script>
<body>
<php>
$nav = GET('navigation','',array('ord'=>'desc','id'=>'asc'),array('pid'=>0))
</php>    
<div class="head">
  <div class="wrap">
    <a href="" class="logo"><img src="__IMAGE__/logo.png"></a>
    <ul class="nav">
      <li class="on"><a href="/">首页</a></li>
      
      <volist name="nav" id="list">
      <li><a href="<{$list['url']}>"><{$list['name']}></a>
      <if condition="$list['level'] eq 1">
      <div class="nav-child">
      <php>
      $navchild = GET('navigation','',array('ord'=>'desc','id'=>'asc'),array('pid'=>$list['id']))
      </php>
      <volist name="navchild" id="step">
      <a href="<{$step['url']}>"><{$step['name']}></a>
      </volist>
      </div>
      </if>
      </li>
      </volist>
    </ul>
    <form name="search" id="search-form" method="get" action="index.php/Search/index/">
      <input type="text" name="k" id="k">
      <input type="submit" id="search-but" value=" ">
    </form>
  </div>
 
</div>

<div id="slideShow">
<php>
$slide = GET('link','',array('ord'=>'desc','id'=>'desc'),array('type'=>'slide'))
</php>
<volist name="slide" id="list">

<div><a href="<{$list['url']}>"><img src="<{$list['image']}>" alt="<{$list['title']}>" /></a></div>

</volist>
</div>


<div class="wrap">
  <php>
   $product = GET('content',6,'id desc',array('type'=>'product'))
  </php>
  <div class="index-box">
    <h2>产品展示</h2>    
    <volist name="product" id="list">
    <div class="product"><a href="<{:AURL($list['url'],$list['id'])}>" title="<{$list['title']}>"><img src="<{$list['image']}>" width="215" height="120" alt="<{$list['title']}>"></a></div>
    </volist>
    <div class="c"></div>
  </div>
  
  <php>
   $news = GET('content',8,'id desc',array('type'=>'article'))
  </php>
  <div class="list">
    <h2>新闻动态</h2>
    <volist name="news" id="list">
    <p><a href="<{:AURL($list['url'],$list['id'])}>"><{$list['title']}></a></p>
    </volist>
  </div>
    
    <php>
   $link = GET('link','',array('ord'=>'desc','id'=>'desc'),array('type'=>'link'))
  </php>
  <div class="list">
    <h2>友情连接</h2>
    <volist name="link" id="link_friend">
    <p><a href="<{$link_friend['url']}>"><{$link_friend['title']}></a></p>
    </volist>
  </div>
    
  
  
  <div class="c"></div>
  
</div>

<include file="Public/foot" />
